#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<sys/types.h>
#include<unistd.h>



int main()
{
    std::cout << "hello C++" << std::endl;
    std::cout << "mypid is:" <<getpid()<<"myppid is:"<<getppid()<< std::endl;

    char** e = environ;
    for(;*e; *e++)
    {
        printf("%s\n", *e);
    }
    return 0;
}
